package com.devplatform.service.article;

import com.baomidou.mybatisplus.extension.service.IService;
import com.devplatform.pojo.user.UserArticleLike;
import com.devplatform.pojo.vo.DataVo;

/**
 * @author Jnks03
 * @description 针对表【user_article_like】的数据库操作Service
 * @createDate 2025-09-29 09:41:47
 */
public interface UserArticleLikeService extends IService<UserArticleLike> {
    DataVo likes(UserArticleLike userArticleLike);

    // 新增：查询是否已点赞
    DataVo<Boolean> isLiked(Long userId, Long articleId);
}
